package com.store.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_food_formula")
public class FoodFormula implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "food_formula_id", type = IdType.ID_WORKER_STR)
    private String foodFormulaId;

    /**
     * 材料ID
     */
    private String materialId;

    /**
     * 材料名称
     */
    private String materialName;

    /**
     * 数量
     */
    private Double amount;

    /**
     * 单位
     */
    private String unit;

    private String foodId;


}
